package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 权限表
 */
public class Micro {
    private int id;
    private String name;
    private String piano;
    /* 文章标题 */
    private String articletitle;
    /* 应用状态 */
    private int appstatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 创建时间 */
    private Timestamp cratedate;
    /* 用户账号 */
    private String useraccount;
    /* 点击量 */
    private int clicks;
    /* 分类 */
    private String classify;
    /* 点赞量 */
    private int numberlike;
    /* 收藏量 */
    private int numberfavor;
    /* 评论量 */
    private int numbercomment;
    /* 分享数量 */
    private int numbershare;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPiano() {
        return piano;
    }

    public String getName() {
        return name;
    }

    public int getAppstatus() {
        return appstatus;
    }

    public void setAppstatus(int appstatus) {
        this.appstatus = appstatus;
    }

    public String getArticletitle() {
        return articletitle;
    }

    public int getClicks() {
        return clicks;
    }

    public void setClicks(int clicks) {
        this.clicks = clicks;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public void setArticletitle(String articletitle) {
        this.articletitle = articletitle;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPiano(String piano) {
        this.piano = piano;
    }

    public Timestamp getCratedate() {
        return cratedate;
    }

    public void setCratedate(Timestamp cratedate) {
        this.cratedate = cratedate;
    }

    public String getUseraccount() {
        return useraccount;
    }

    public void setUseraccount(String useraccount) {
        this.useraccount = useraccount;
    }

    public int getNumberlike() {
        return numberlike;
    }

    public void setNumberlike(int numberlike) {
        this.numberlike = numberlike;
    }

    public int getNumberfavor() {
        return numberfavor;
    }

    public void setNumberfavor(int numberfavor) {
        this.numberfavor = numberfavor;
    }

    public int getNumbercomment() {
        return numbercomment;
    }

    public void setNumbercomment(int numbercomment) {
        this.numbercomment = numbercomment;
    }

    public int getNumbershare() {
        return numbershare;
    }

    public void setNumbershare(int numbershare) {
        this.numbershare = numbershare;
    }

    @Override
    public String toString() {
        return "Micro{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", piano='" + piano + '\'' +
                ", articletitle='" + articletitle + '\'' +
                ", appstatus=" + appstatus +
                ", cratedate=" + cratedate +
                ", useraccount='" + useraccount + '\'' +
                ", clicks=" + clicks +
                ", classify='" + classify + '\'' +
                ", numberlike=" + numberlike +
                ", numberfavor=" + numberfavor +
                ", numbercomment=" + numbercomment +
                ", numbershare=" + numbershare +
                '}';
    }
}
